.class Lcom/waiqin365/lightapp/visit/p;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 7

    packed-switch p3, :pswitch_data_0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->B(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->B(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    :cond_0
    return-void

    :pswitch_0
    iget-object v6, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const v3, 0x7f0806b1

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const v4, 0x7f080145

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/q;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/q;-><init>(Lcom/waiqin365/lightapp/visit/p;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v6, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/p;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->b(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
    .end packed-switch
.end method
